package org.example.Entity;

public class Dam {
    private int id;
    private String name;
    private String river;
    private double capacity;
    private String completeDate;

    // 构造方法、getter和setter
    public Dam() {}

    public Dam(int id, String name, String river, double capacity, String completeDate) {
        this.id = id;
        this.name = name;
        this.river = river;
        this.capacity = capacity;
        this.completeDate = completeDate;
    }

    // getter和setter方法
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRiver() {
        return river;
    }

    public void setRiver(String river) {
        this.river = river;
    }

    public double getCapacity() {
        return capacity;
    }

    public void setCapacity(double capacity) {
        this.capacity = capacity;
    }

    public String getCompleteDate() {
        return completeDate;
    }

    public void setCompleteDate(String completeDate) {
        this.completeDate = completeDate;
    }
}